package com.ngmaster.socket.handler;



import com.ngmaster.socket.MessageHandler;
import com.ngmaster.socket.message.SwitchBillModelMessage;
import com.ngmaster.socket.message.WipeDataMessage;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 恢复出厂设置 应答消息
 * */
@Slf4j
@Component
public class ReceiveWipeDataHandler extends MessageHandler<WipeDataMessage> {

    @Override
    public boolean handleMessage(WipeDataMessage protocolMessage) {
        log.info("[ReceiveWipeDataHandler] [receive] [msg:{}]", protocolMessage);
        this.sendCmdQueryDeviceInfo(protocolMessage);
        return true;
    }
}
